// 封装函数并返回promise 
import request from '@/utils/request.js'

// 店铺详情
export const shopInfo = () => {
    return request({
        method: "get",
        url: "/shop/info",
    })
}


// 店铺修改
export const shopEdit = (data) => {
    return request({
        method: "post",
        url: "/shop/edit",
        data
    })
}